package model

import (
	"time"
)

const SettingEquipLevelName = "setting_equip_level"

type SettingEquipLevel struct {
	Id      int               `json:"id" orm:"auto" sql:"INT"`
	Name    map[string]string `json:"name" sql:"JSON"`
	Desc    map[string]string `json:"desc" sql:"JSON"`
	EquipId int               `json:"equip_id" sql:"INT"`
	Level   int               `json:"level" sql:"INT"`

	Require    CompareDataRelationSlice `json:"require" sql:"JSON"`
	Effect     DataRelationSlice        `json:"effect" sql:"JSON"`
	EffectText ShowTextSlice            `json:"effect_text" sql:"JSON"`

	Decompose DataRelationSlice `json:"decompose" sql:"JSON"`
	Intensify DataRelationSlice `json:"intensify" sql:"JSON"`

	UpdateTime *time.Time `json:"update_time" orm:"updateTime" sql:"DATETIME"`
}
